package 创建型模型.工厂模式.抽象工厂模式;

public interface Engine {
    void run();
}
class HighEngine implements Engine{

    @Override
    public void run() {
        System.out.println("好发动机启动");
    }
}
class LowEngine implements Engine{

    @Override
    public void run() {
        System.out.println("差发动机启动");
    }
}